/*
 * @Author: Wayne 13235388225@163.com
 * @Date: 2023-08-30 14:17:03
 * @LastEditors: Wayne 13235388225@163.com
 * @LastEditTime: 2023-09-26 09:10:17
 * @FilePath: \jkc-app-H5\vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    externals: {
      AMap: "AMap",
    },
    output: {
      // 输出重构  打包编译后的 文件路径  文件名称  【时间戳】
      filename: `./static/js/[name].${new Date().getTime()}.js?v=${new Date().getTime()}`,
      chunkFilename: `./static/js/[name].${new Date().getTime()}.js?v=${new Date().getTime()}`,
    },
  },
});
